<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{:seotitle()}</title>
    <meta name="keywords" content="{:seokeywords()}" />
    <meta name="description" content="{:seodesc()}" />
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/normalize.css">
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/nprogress.css">
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/bluestyle.css">
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/font-awesome.min.css">
    <!-- <link rel="stylesheet" href="__INDEX__/css/supersized.css"> -->

    <link rel="shortcut icon" href="__INDEX__/images/favicon.ico">
    <script src="__INDEX__/js/jquery-2.1.4.min.js"></script>
    <script src="__INDEX__/js/nprogress.js"></script>
    <script src="__INDEX__/js/jquery.lazyload.min.js"></script>
    <!-- <script src="__INDEX__/js/supersized.3.2.7.min.js"></script> -->
    <!-- <script src="__INDEX__/js/supersized-init.js"></script> -->
    <!-- 万年历 -->
    <script type="text/javascript" src="__INDEX__/js/main.js"></script>


    <style type="text/css">
        /*title样式*/
        div#tooltip {position:absolute; z-index:1000;width:auto!important;background:rgba(0, 210, 210,1); text-align:left; padding:5px 10px;border-radius:5px;
            background:rgba(0, 210, 210,1);
        }
        div#tooltip p {color:#fff;font-size:12px;}
        div#tooltip p:after{
            content:''; 
            width: 0;
            height: 0;
            position:absolute;
            left:10%;
            top:-8px;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid rgba(0, 210, 210,1);
        }

        /*section*/
        .mysection{width:100%;}
    </style>
    <link rel="stylesheet" href="__INDEX__/css/flexslider.css"/>
    <!--JS-->
    <script src="__INDEX__/js/jquery.flexslider-min.js"></script>
    <script src="__INDEX__/js/tooltip.js"></script>
    <script type="text/javascript">
        $(function(){
            var swiper = new Swiper('.swiper-container', {
                nextButton: '.swiper-button-next',
                prevButton: '.swiper-button-prev',
                pagination: '.swiper-pagination',
                paginationType: 'fraction',
                centeredSlides: true,
                loop: true,//循环
                autoplay: 7500,//自动播放时间
                autoHeight: true //自动高度
            });
        });
    </script> 
    <script>
        var Num; //Num计算出日期位置
        for(i=0;i<6;i++) {
            document.write('<table id="cal-content" style="display:none"><tr>');
            for(j=0;j<7;j++) {
                Num = i*7+j;
                document.write('<td id="SD' + Num +'" </td>');
            }
            //农历
            for(j=0;j<7;j++) {
                Num = i*7+j;
                document.write('<td id="LD' + Num +'"" > </td>')
            }
            document.write('</tr></table');
        }
    </script> 
</head>
<body class="user-select"  onload=initial(); >
<?php
$uarowser=$_SERVER['HTTP_USER_AGENT'];
if(strstr($uarowser, 'MSIE 6') || strstr($uarowser, 'MSIE 7') || strstr($uarowser, 'MSIE 8') || strstr($uarowser, 'MSIE 9')){
    echo '
		<div id="ie6-alertBox">
		    <div id="ie6-infoBar">
		        <h1>对不起，本站不支持IE9及其以下浏览器！</h1>
		        <p>站长表示实在是兼容不了低版本的IE浏览器，请升级你的IE浏览器。</p>
		        <p>推荐升级至IE10或者试试火狐浏览器和谷歌浏览器，如果你对IE是真爱......那么我也没法。</p>
		    </div>
		</div>
		<div id="ie6-overlay"></div>
		<style type="text/css">
		    #ie6-alertBox{width: 666px;margin-top: 160px;margin-right: auto;margin-bottom: 0px;margin-left: auto;padding: 20px;border: 1px solid #CCCCCC;text-align: center;font-family: "宋体", Verdana, sans-serif; line-height: 30px;} 
		    #ie6-infoBar h1{font-size: 22px;color: #ff0000;line-height: 60px;}
		</style>';
exit;//全面停止支持
}
?>
    <header class="header">
        <nav class="navbar navbar-default" id="navbar">
            <div class="container">
                <div class="header-topbar hidden-xs link-border">
                    <div class="site-nav topmenu">
                        <div id="date_content" style="float: left;"></div>
                        <span id="clock" style="float: left; margin-left: 10px;"></span>
                    </div>
                  <a href="javascript:;" class="register" draggable="false">勤记录 懂分享</a></div>
                  <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar" aria-expanded="false">
                        <span class="sr-only"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <h1 class="logo hvr-bounce-in">
                        <a href="http://www.esslay.com/" title="樱桃博客网站">
                            <figure></figure>
                        </a>
                    </h1>
                </div>
                <div class="collapse navbar-collapse" id="header-navbar">
                    <!-- <form class="navbar-form visible-xs" action="/Search" method="post">
                        <div class="input-group">
                            <input type="text" name="keyword" class="form-control" placeholder="请输入关键字" maxlength="20" autocomplete="off">
                            <span class="input-group-btn">
                                <button class="btn btn-default btn-search" name="search" type="submit">搜索</button></span>
                        </div>
                    </form> -->
                    <ul class="nav navbar-nav navbar-right">
                       <li>
                        <a href="{:url('index/index/index')}">首页</a>
                    </li>
                    {volist name="_nav" id="nav"}
                    <li>
                        <a href="{:navurl($nav.sf,$nav.id)}">{$nav.cate}</a>
                    </li>
                    {/volist}
                </ul>
            </div>
        </div>
    </nav>
</header>
